﻿<%@ Page Language="c#" CodeBehind="UpdateCBInfo.aspx.cs" MasterPageFile="~/App_MasterPages/layout.Master"
    AutoEventWireup="false" Inherits="ud_gSDMS.Member.UpdateCBInfo" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" >
</asp:Content>
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">


<portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
    <mp:CornerRounderTop id="ctop1" runat="server" />
    <asp:Panel ID="pnlStoreManager" runat="server" CssClass="art-Post-inner panelwrapper gSDMS">
            <portal:ModuleTitleControlCustom ID="moduleTitle" runat="server" RenderArtisteer="true" UseLowerCaseArtisteerClasses="true"/>
        <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
        
        <div class="leftmenucontent">
        </div>
        <div class="modulecontent">
<%--            <asp:UpdatePanel ID='updatePanel' runat="server" >
                <ContentTemplate>--%>
                    
                
                 <%--<mp:SiteLabel ID="lblInfo" CssClass="title info" runat="server" ResourceFile="gSDMSResource" ConfigKey="gSDMSHostingPackage" />--%>
                
                
                <br />
                <div class="topItem">
                <center>
                     <div class="SearchItem">
                        <p class="">CẬP NHẬT VÀ BỔ SUNG THÔNG TIN CÁN BỘ, CÔNG CHỨC, VIÊN CHỨC</p>
                     </div>
                     <div class="div_grid">
                     <div class="scroll">
                    <table cellpadding='5' cellspacing='0' border='0' width='auto' class="tb_edit">
                        <tr>
                            <td class="title">
                                <asp:GridView runat="server" ID="gvChildInfo" AutoGenerateColumns="False" CssClass="gvData"
                                RowStyle-CssClass="rowstyle" 
                                    AlternatingRowStyle-CssClass="AlternatingRowStyle" 
                                    onrowcancelingedit="gvChildInfo_RowCancelingEdit" 
                                    onrowediting="gvChildInfo_RowEditing" 
                                    onrowupdating="gvChildInfo_RowUpdating" EnableModelValidation="True" 
                                    onrowdeleting="gvChildInfo_RowDeleting" EmptyDataText="Khong co du lieu">

                                    <Columns>
                                     <asp:TemplateField HeaderText="Họ Tên" ItemStyle-CssClass="gvItem ta_left min2dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHoTen" runat="server" Text='<%# Eval("HoTen") %>'/>
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt1" runat="server" Text='<%# Eval("HoTen") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Nữ" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrNu" runat="server" Text='<%# Eval("Nu") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt2" runat="server" Text='<%# Eval("Nu") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Ngày Sinh" ItemStyle-CssClass="gvItem ta_left min2dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrNgaySinh" runat="server" Text='<%# Eval("NgaySinh") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt3" runat="server" Text='<%# Eval("NgaySinh") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="CóLG" ItemStyle-CssClass="gvItem ta_cen " HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrCoLuong" runat="server" Text='<%# Eval("CoLuong") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt4" runat="server" Text='<%# Eval("CoLuong") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Ngạch" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrNgach" runat="server" Text='<%# Eval("Ngach") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt5" runat="server" Text='<%# Eval("Ngach") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Bậc" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrBac" runat="server" Text='<%# Eval("Bac") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt6" runat="server" Text='<%# Eval("Bac") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="HSLg" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHSLg" runat="server" Text='<%# Eval("HSLg") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt7" runat="server" Text='<%# Eval("HSLg") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Loại" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrLoai" runat="server" Text='<%# Eval("Loai") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt8" runat="server" Text='<%# Eval("Loai") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Ngày TGCT" ItemStyle-CssClass="gvItem ta_cen min2dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrNgayTGCT" runat="server" Text='<%# Eval("NgayTGCT") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt9" runat="server" Text='<%# Eval("NgayTGTC") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="ChucVu" ItemStyle-CssClass="gvItem ta_left min3dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrChucVu" runat="server" Text='<%# Eval("ChucVu") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt10" runat="server" Text='<%# Eval("ChucVu") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Học vị" ItemStyle-CssClass="gvItem ta_cen min2dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHocVi" runat="server" Text='<%# Eval("HocVi") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt11" runat="server" Text='<%# Eval("HocVi") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="MSCD" ItemStyle-CssClass="gvItem ta_cen " HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrMSCD" runat="server" Text='<%# Eval("MSCD") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt12" runat="server" Text='<%# Eval("MSCD") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="MSTD" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrMSTD" runat="server" Text='<%# Eval("MSTD") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt13" runat="server" Text='<%# Eval("MSTD") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Hưởng theo định mức" ItemStyle-CssClass="gvItem ta_left min3dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHuongDM" runat="server" Text='<%# Eval("HuongDM") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt14" runat="server" Text='<%# Eval("HuongDM") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="MSDV" ItemStyle-CssClass="gvItem ta_cen " HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrMSDV" runat="server" Text='<%# Eval("MSDV") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt15" runat="server" Text='<%# Eval("MSDV") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Ten đơn vị" ItemStyle-CssClass="gvItem ta_left min2dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrTenDV" runat="server" Text='<%# Eval("TenDV") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt16" runat="server" Text='<%# Eval("TenDV") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Khoa" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrKhoa" runat="server" Text='<%# Eval("Khoa") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt17" runat="server" Text='<%# Eval("Khoa") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Tên khoa/ BM" ItemStyle-CssClass="gvItem ta_left min2dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrTenKhoa" runat="server" Text='<%# Eval("TenKhoa") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt18" runat="server" Text='<%# Eval("TenKhoa") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Điện thoại" ItemStyle-CssClass="gvItem ta_cen min2dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrDienThoai" runat="server" Text='<%# Eval("DienThoai") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt19" runat="server" Text='<%# Eval("DienThoai") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Địa chỉ" ItemStyle-CssClass="gvItem ta_left min3dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrDiaChi" runat="server" Text='<%# Eval("DiaChi") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt20" runat="server" Text='<%# Eval("DiaChi") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Email" ItemStyle-CssClass="gvItem ta_left min2dong" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrEmail" runat="server" Text='<%# Eval("Email") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt21" runat="server" Text='<%# Eval("Email") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="CTTC" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrCTTC" runat="server" Text='<%# Eval("CTTC") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt22" runat="server" Text='<%# Eval("CTTC") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="TLDG" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrTLDG" runat="server" Text='<%# Eval("TLDG") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt23" runat="server" Text='<%# Eval("TLDG") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     
                                     <asp:CommandField HeaderStyle-CssClass="gvHeader" HeaderText="Chức năng" 
                                            ItemStyle-CssClass="gvItem ta_left" ShowEditButton="True" ShowDeleteButton="True">
                                                
                                            <HeaderStyle CssClass="gvHeader div_chucnang" />
                                            <ItemStyle CssClass="gvItem ta_cen div_chucnang" />
                                        </asp:CommandField>
                                </Columns>
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr><td></td></tr>
                        <tr>
                            <td> <asp:Button  CssClass="btn btn_insert" ID="BtnInsert" Text="Thêm " CommandName="Btn_Insert" runat="server" CommandArgument='<%# Eval("ID") %>' /></td>
                        </tr>
                    </table>
                    </div>
                </div>
                </center>
                </div>
                

<%--                </ContentTemplate>
            </asp:UpdatePanel>--%>
                
        </div>
        </portal:mojoPanel>
        <div class="cleared"></div>
    </asp:Panel>
    <mp:CornerRounderBottom id="cbottom1" runat="server" />
    </portal:mojoPanel>
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" 
    runat="server" >
</asp:Content>
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server" />
